<?PHP 

$vecTagsAll=array(
"流行元素",array('蕾丝',0,'波点',1,'雪纺',1,'碎花',0,'条纹',1,'糖果色',1,'格子',1,'蝴蝶结',0,'镂空',0,'撞色',0,'豹纹',0,'百搭',1),
"潮流风格",array('学院',1,'萌系',1,'中性',0,'英伦',1,'清新',1,'韩版',0,'复古',0,'性感',0,'OL',0,'欧美',0,'甜美',0,'公主',1),
"当季热款",array('连衣裤',0,'针织',1,'厚底鞋	',1,'打底',0,'打底衫',1,'罩衫',1,'高帮鞋',0,'信封包',0,'高跟鞋',0,'吊带裙',0,'T恤',1,'衬衫',1),
"美容护肤",array('美白',1,'洁面',1,'腮红',0,'眼影',0,'BB霜',1,'面膜',0,'唇彩',0,'睫毛膏',0,'眼霜',0,'隔离霜',1,'香水',1,'补水',0),
"网友热荐",array('街拍',0,'针织衫',0,'百搭',1,'显瘦',0,'vivi同款',1,'镂空',0,'呛口小辣椒',0,'浅口',0,'保湿',0,'HelloKitty',0,'个性',0,'帆布鞋',1)
);

if (!isset($cl_catelog)) $cl_catelog = "";
if (!isset($cl_tag)) $cl_tag = "";
if (!isset($cl_param)) $cl_param = "";
?>
    <!-----二级 三级  开始------->
	<div class="goodsTop">
        <div class="gsT_r rgary">
        <?PHP 
			for($k = 0; $k < count($vecTagsAll); $k+=2)
			{
		?>
            <div class="gs_key">
                <h2 class="f14"><?PHP echo $vecTagsAll[$k]; ?></h2>
                <ul>
                	<?PHP 
					$vecTags=$vecTagsAll[$k+1];
					for ($i=0; $i < count($vecTags); $i+=2)
					{
						$tmp = $vecTags[$i+1]==1 ? "class='hl'" : "";
						$str="<li $tmp><a title='".$vecTags[$i]."' href='../tag/?cl=".urlencode($cl_catelog)."&tag=".urlencode($vecTags[$i]).$cl_param."'>";
						if ($cl_tag==$vecTags[$i])
							$str.="<font color='#FF6600'>$vecTags[$i]</font>";
						else
							$str.=$vecTags[$i];
						$str.="</a></li>";
						echo $str;
					}
					?>
                </ul>
            </div>
            <?PHP } ?>

            <div class="gs_share left mt14"><a href="http://www.tusijie.com/user/edit_items.php">分享我喜欢的</a>分享你发现的宝贝!</div>
    	</div>           
	</div>
         <!----- 二级 三级 结束------->